package com.ylr.user.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-06-08 13:59:02
 * className: UserMessageEnum
 * version: 1.0
 * description:
 */
@Getter
@AllArgsConstructor
public enum UserMessageEnum {

    /*
        用户消息表字段字典值
     */
    // 消息类型[0-系统消息]
    SYSTEM_TYPE(0, "系统消息"),
    // 用户查看状态[0-已看 1-未查看]
    READ_YES(0, "已看"), READ_NO(1, "未查看"),
    ;

    /**
     * 值
     */
    private final Integer value;

    /**
     * 名称
     */
    private final String name;
}
